package ooday02.课件作业;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dg=new Dog("刀哥",2,"黑");
        dg.lookHome();
        dg.drink();
        dg.eat();
        Chick jpj=new Chick("脚盆鸡",1,"白");
        jpj.layEggs();
        jpj.drink();
        jpj.eat();
        Fish v=new Fish("鱼",2,"金");
        v.eat();
        v.drink();
    }
}
